package com.yusys.ba02;

public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome(String name, Integer age) {
        System.out.println("=====目标方法：做了一些事情" + name + "," + age);
    }

    @Override
    public String doOther(String name, Integer age) {
        System.out.println("=====执行目标方法=====");
        return "respect";
    }

    @Override
    public Student doOther2(String name, Integer age) {
        Student student = new Student();
        student.setName(name);
        student.setAge(age);
        return student;
    }
}
